package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.ICollectActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.resp.CollectListEntity;
import com.wgts.wgts.netmodle.resp.CurrentEntity;

/*
 *
 *
 *   data:2018/10/79:23
 *
 */public class CollectActivityModel implements ICollectActivityModel {
     private NetService netService;

    public CollectActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void collectList(Integer pageIndex, Integer pageSize, HttpResultSubscriber<CollectListEntity> subscriber) {
        netService.collectList(pageIndex, pageSize, subscriber);
    }

    @Override
    public void deleteCollect(String productIds, HttpResultSubscriber<CurrentEntity> subscriber) {
        netService.deleteCollect(productIds, subscriber);
    }
}
